//
//  oldVideoView.h
//  laonianbangfamily
//
//  Created by 勇拓 李 on 18/3/30.
//  Copyright © 2018年 zaiyou. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, oldVideoType) {
    VideoLocal = 0,
    VideoWeb
};

typedef NS_ENUM(NSInteger, oldVideoFillType) {
    VideoAspect = 0,
    VideoFill
};

@protocol oldVideoViewDelegate <NSObject>
- (void)touchedFullScreen:(NSString *)url type:(oldVideoType)type;
@end

@interface oldVideoView : UIView
@property (nonatomic, weak)id <oldVideoViewDelegate> delegate;
- (instancetype)initByType:(oldVideoType)type url:(NSString *)url fillType:(oldVideoFillType)filtype;
@end
